<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .grandfather{
            position: relative;
            width: 800px;
            height: 800px;
            background-color:blueviolet;
        }

        .father{
            /* position: relative; */
            margin-left:200px;
            width: 500px;
            height: 500px;
            background-color:aqua;

        }

        .son{
            width: 200px;
            height: 200px;
            background-color: pink;
            position: absolute;
            left: 100px;
            top: 100px; 
        }
    </style>
</head>
<body>
        <div class="grandfather">
                <div class="father">
                    <div class="son">
            
                    </div>
                </div>
            </div>
</body>
</html>